package com.geek.spring.single;

/**
 * @program java-spring
 * @description: 饿汉式
 * @author: chanzhugang
 * @create: 2021/04/18 23:44
 */
public class SingleDemo02 {

    private static SingleDemo02 instance = new SingleDemo02();

    private SingleDemo02() {

    }

    public static SingleDemo02 getInstance() {
        return instance;
    }
}